package com.sxfech.project.auth.repository;

import com.sxfech.project.auth.entity.OAuthClientDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface OAuthClientDetailRepository extends JpaRepository<OAuthClientDetail, Long> {
    Optional<OAuthClientDetail> findOneByClientId(String clientId);
}
